Negation as Instantiation

نویسندگان

  • Alessandra Di Pierro
  • Maurizio Martelli
  • Catuscia Palamidessi
چکیده

We propose a new negation rule for logic programming which derives existentially closed negative literals, and we de ne a version of completion for which this rule is sound and complete. The rule is called \Negation As Instantiation" (NAI). According to it, a negated atom succeeds whenever all the branches of the SLD-tree for the atom either fail or instantiate the atom. The set of the atoms whose negation is inferred by the NAI rule is proved equivalent to the complement of TC #!, where TC is the immediate consequence operator extended to nonground atoms (Falaschi et al., 1989). The NAI rule subsumes negation as failure on ground atoms, it excludes oundering and can be e ciently implemented. We formalize this way of handling negation in terms of SLDNI-resolution (SLD-resolution with Negation as Instantiation). Finally, we amalgamate SLDNI-resolution and SLDNF-resolution, thus obtaining a new resolution procedure which is able to treat negative literals with both existentially quanti ed variables and free variables, and we prove its correctness. 2

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Algebraic and Logic Programming ' 96 ] On Negation As

Given a logic program P and a goal G, we introduce a notion which states when an SLD-tree for P fGg instantiates a set of variables V with respect to another one, W. We call this notion weak instantiation, as it is a generalization of the instantiation property introduced in 3]. A negation rule based on instantiation, the so-called Negation As Instantia-tion rule (NAI), allows for inferring exi...

متن کامل

On Negation As Instantiation

Given a logic program P and a goal G, we introduce a notion which states when an SLD-tree for P fGg instantiates a set of variables V with respect to another one, W. We call this notion weak instantiation, as it is a generalisation of the instantiation property introduced by Di Pierro, Martelli and Palamidessi. A negation rule based on instanti-ation, the so-called Negation As Instantiation rul...

متن کامل

An Algebraic Perspective of Constraint Logic Programming

We develop a denotational, fully abstract semantics for constraint logic programming (clp) with respect to successful and failed observables. The denotational approach turns out very useful for the deenition of new operators on the language as the counterpart of some abstract operations on the denotational domain. In particular, by deening our domain as a cylindric Heyting algebra, we can explo...

متن کامل

Answer Synthesis for CLP Programs with Negation

Rewrite techniques can be used to execute logic programs in order to avoid some drawbacks of classical Prolog resolution. Logic programs are represented as rewrite programs whose operational mechanism, inspired from Knuth-Bendix completion, allows to prune some unnecessary computations and ooers a synthesis ability which enables to represent innnite sets of answers as nite sets of formulas. We ...

متن کامل

Parallel Instantiation in DLV

Answer Set Programming (ASP) is a purely-declarative logic programming language allowing for disjunction and nonmonotonic negation. The evaluation of ASP Programs is traditionally carried out in two steps. In the first step an input program P undergoes the so-called instantiation (or grounding) process, which produces a program P ′ semantically equivalent to P , but not containing any variable;...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Inf. Comput.

دوره 120  شماره 

صفحات  -

تاریخ انتشار 1995